Dec 27, 2011, 10:21 PM // 22:21
|
#1
|
Krytan Explorer
Join Date: Jul 2007
Location: guildwiki.org/User:Lorazcyk
Profession: Mo/
|
Script (Linux) for Daily Zaishen
Edit:
Nevermind, did it myself. See below.
Quote:
Looking for someone to make me a shell/python/whatever script (I use Linux) that fetches info from
http://wiki.guildwars.com/wiki/Daily_activities
And writes in a text file, in separate lines:
Today's ZMission
Today's ZVanquish
Tomorrow's ZMission
Tomorrow's ZVanquish
I want to use it on my conky, but I can take care of that part.
Thank you... if you want payment of some sort, please send me a private message.
|
Here's how I did it:
Replace USERNAME with your unix username in this file:
http://pastie.org/pastes/3082285/text
Save the file to /home/USERNAME/.conky/conky_zaishen.sh and make it executable with chmod +x /home/USERNAME/.conky/conky_zaishen.sh
On your .conkyrc, add this:
Code:
${color2}${hr}${color}
${execi 2024 ~/.conky/conky_zaishen.sh}
${color1}Today's Zaishen:${color}
${execi 2024 sed -n '763p' ~/.conky/conky_zaishen/zaishen-data} & ${execi 2024 sed -n '802p' ~/.conky/conky_zaishen/zaishen-data}
${color1}Tomorrow:${color}
${execi 2024 sed -n '867p' ~/.conky/conky_zaishen/zaishen-data} & ${execi 2024 sed -n '906p' ~/.conky/conky_zaishen/zaishen-data}
Use at your own risk, I have only used it since this moment and I don't know if it will work day after day.
I just modified the weather script (written by this guy).
I guess this post is now more appropriate at the Community Works subforum :P
Last edited by lorazcyk; Dec 28, 2011 at 01:21 AM // 01:21..
|
|
|